//@author A0105735J
#include "CommandSearch.h"

CommandSearch::CommandSearch(void){
	type = CommandTypeSearch;
}

CommandSearch::~CommandSearch(void){}

void CommandSearch::setSearchContent(std::string userInput){
	searchContent = userInput;
}

Feedback CommandSearch::execute(Receiver* receiver){
	Logger::instance()->LogMessage("trying to search " + searchContent + " in the calendar");	
	return receiver->searchCommand(searchContent);
}
